<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

Route::post('admin/:version/user/create','api/:version.User/addInfo'); //用户添加
Route::post('admin/:version/user/updateInfo','api/:version.User/updateInfo'); //用户信息修改
Route::get('admin/:version/user/getListInfo','api/:version.User/getListInfo'); //用户列表
Route::get('admin/:version/user/getSelfInfo','api/:version.User/getSelfInfo'); //用户个人信息
Route::post('admin/:version/user/login','api/:version.User/login'); //用户登陆
Route::post('admin/:version/org/create','api/:version.Org/create'); //组织添加
Route::post('admin/:version/org/update','api/:version.Org/update'); //组织修改
Route::get('admin/:version/org/getList','api/:version.Org/getList'); //组织列表
Route::post('admin/:version/wg/areaCreate','api/:version.Wg/areaCreate'); //维果区域添加
Route::post('admin/:version/wg/areaUpdate','api/:version.Wg/areaUpdate'); //维果区域修改
Route::get('admin/:version/wg/areaGetList','api/:version.Wg/areaGetList'); //维果区域列表
Route::post('admin/:version/wg/deviceCreate','api/:version.Wg/deviceCreate'); //维果设备添加
Route::post('admin/:version/wg/deviceUpdate','api/:version.Wg/deviceUpdate'); //维果设备修改
Route::get('admin/:version/wg/deviceGetList','api/:version.Wg/deviceGetList'); //维果设备列表
Route::get('admin/:version/log/getList','api/:version.log/getList'); //日志系统